package com.mspbots.api.service.impl;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.mspbots.api.client.CoreClient;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * AbstractGenericService
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/17
 */
@Deprecated
public abstract class BaseGenericService {

    protected CoreClient apiClient;

    protected ObjectMapper objectMapper;

    @Autowired
    public void setApiClient(CoreClient apiClient) {
        this.apiClient = apiClient;
    }

    @Autowired
    public void setObjectMapper(ObjectMapper objectMapper) {
        this.objectMapper = objectMapper;
    }
}
